package com.tencent.iov.cowin.befsale.clue.dao.http.crm.request;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * add by zly
 * 2022-01-23
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class SyncCrmUpdateClueRequest {
    @NotNull(message = "CRM线索ID不能为空")
    private String crmLeadId;
    @NotNull(message = "线索状态不能为空")
    private Integer leadStatus;
    @ApiModelProperty(value = "交车手机号")
    private String phone;
    @ApiModelProperty(value = "交车姓名")
    private String name;
    @ApiModelProperty(value = "发票号码")
    private String invoiceNo;
    @NotNull(message = "证件号类型不能为空")
    @ApiModelProperty(value = "证件类型:1.身份证 ; 2.军官证 ; 3.港澳台海外地区证件;  4.企业代码证")
    private Integer credentialType;
    @NotNull(message = "证件号不能为空")
    private String credentialNumber;
    @ApiModelProperty(value = "战败备注")
    private String defeatRemark;
    @ApiModelProperty(value = "战败原因")
    private String defeatReason;
    @ApiModelProperty(value = "交车日期")
    private String deliveryDate;
    @NotNull(message = "经销商code不能为空")
    @ApiModelProperty(value = "经销商code")
    private String dealerCode;
    @NotNull(message = "销售顾问不能为空")
    @ApiModelProperty(value = "销售顾问手机号")
    private String mobile;
    @ApiModelProperty(value = "战败类型，即使战败原因？")
    private Integer loseType;
    @ApiModelProperty(value = "战败竞品，？")
    private String competingGoods;
    @ApiModelProperty(value = "意向车型CODE")
    private String seriesCode;
    @ApiModelProperty(value = "意向车型名称")
    private String seriesName;
    @ApiModelProperty(value = "年款CODE")
    private String modelCode;
    @ApiModelProperty(value = "年款名称")
    private String modelName;
    @ApiModelProperty(value = "版型CODE")
    private String rangeCode;
    @ApiModelProperty(value = "版型名称")
    private String rangeName;
    @ApiModelProperty(value = "record主键id")
    private Long recordId;
}
